const baseUrl = 'http://localhost:3001'
const peopleUrl = `${baseUrl}/people`
const ProjectUrl = `${baseUrl}/projectDetail`
const WebAPI = {
    peoPle: {
        getAllPeoleInfo: peopleUrl + "/allInfo",//获取所有人员信息
        getPeopleByPage: peopleUrl + "/getPeopleByPage",//分页获取人员信息
        deletePeopleByid: peopleUrl + "/deletePeopleByid",//删除人员信息
        createPeople: peopleUrl + "/createPeople",//创建人员信息
        editPeople: peopleUrl + "/editPeople",//编辑人员信息
    },
    projectDetail: {
        getProjectAll: ProjectUrl + "/getProjectAll",//获取所有项目信息
        getProject: ProjectUrl + "/getProject",//获取项目信息
        getProjectByPage: ProjectUrl + "/getProjectByPage",//分页获取项目信息
        deleteProject: ProjectUrl + "/deleteProject",//删除项目信息
        createProject: ProjectUrl + "/createProject",//创建项目信息
        editProject: ProjectUrl + "/editProject",//编辑项目信息
        getProjectByDate: ProjectUrl + "/getProjectByDate",//根据日期获取项目信息
        deleteProjectBatch: ProjectUrl + "/deleteProjectBatch",//批量删除项目信息
        importProject: ProjectUrl + "/importProject",//导入项目信息
        exportProject: ProjectUrl + "/exportProject",//导出项目信息
    }
}

export default WebAPI